from django.contrib import admin
import os
# Register your models here.
from photo.models import *

# class photoAdmin(admin.ModelAdmin):
#     list_display = ('name')
#     if os.path.exists('uploadImg/%s' %photo.name):
#         print(photo.name)
#     else:
#         os.mkdir('uploadImg/%s' %photo.name)
admin.site.register(photo)
admin.site.register(image)
admin.site.register(speak)